#include <stdio.h>
#include <unistd.h>

int main(int arc,const char** argv)
{
  pid_t pid = fork();
  if(pid == 0)
    printf("I am child\n");

  if(pid > 0)
    printf("I am father\n");

}
